import request from '@/utils/request'

// 查询取消申请记录列表
export function listLog(query) {
  return request({
    url: '/comprehensive/log/list',
    method: 'get',
    params: query
  })
}

// 查询取消申请记录详细
export function getLog(id) {
  return request({
    url: '/comprehensive/log/' + id,
    method: 'get'
  })
}

// 新增取消申请记录
export function addLog(data) {
  return request({
    url: '/comprehensive/log/add',
    method: 'post',
    data: data
  })
}

// 修改取消申请记录
export function updateLog(data) {
  return request({
    url: '/comprehensive/log/update',
    method: 'post',
    data: data
  })
}

// 删除取消申请记录
export function delLog(id) {
  return request({
    url: '/comprehensive/log/' + id,
    method: 'post'
  })
}
